package com.erlang4j.api.exceptions;

import com.erlang4j.internal.exceptions.Erlang4jException;
import com.erlang4j.internal.exceptions.Erlang4jExceptionConstants;

/** Thrown if Erlang4J cannot connect to the ErlangVm. The wrapped exception is probably a JInterface exception */
public class Erlang4jCannotConnectToVmException extends Erlang4jException {

	public Erlang4jCannotConnectToVmException(String javaVmName, String erlangVmName, String cookie, Exception e) {
		super(e, Erlang4jExceptionConstants.cannotConnectToVmExceptionKey, javaVmName, erlangVmName, cookie);
	}

}
